package com.day20170508.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by root on 2017/5/8.
 */
@Controller
@RequestMapping(value = "/aaa",method = RequestMethod.GET)
public class Test01 {
    @RequestMapping(value = "/*/*",params = {"username"})
    public String aaa(){
        return "index";
    }
    @RequestMapping(value = "/a",params = {"username=123"})
    public String aa(){
        return "index";
    }
    @RequestMapping(value = "/b",params = {"username!=123"})
    public String bbb(){
        return "index";
    }
    @RequestMapping(value = "/c",params = {"username=123","password"})
    public String ccc(){
        return "index";
    }
}
